home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 223
/
223.d81
/
b.tile stylist
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
2KB
|
69 lines
5 dv=peek(186):ifdv<8thendv=8
10 print"[144][147]":poke53280,0:poke53281,0
15 gosub60000
20 sys57812"tile font",dv,0:poke780,0:poke781,0:poke782,200:sys65493
30 print"[144][147]":poke56576,4:poke53272,2:poke648,192:poke53265,27
40 cl$="[144][159][156][158][129][149][150][151][152][153][154][155]":ch=4:bk=15:br=0:bc=0:pt=0
50 poke53280,br:poke53281,bc
60 printmid$(cl$,bk,1)"[147]"mid$(cl$,ch,1)
70 printtab(9)"[207][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][208]"
80 printtab(9)"[165][160][160][160][160]tile[160]stylist[160][160][160][160][167]"
90 printtab(9)"[165][160][160][160]by[160]brian[160]boese[160][160][160][167]"
110 printtab(9)"[165][213][192][201][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][167]"
114 printtab(9)"[165][221] [221][160]pattern[160]#[160][160][160][160][160][160][160][167]"
116 printtab(9)"[165][202][192][203][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][167]"
120 printtab(9)"[165]+[160]=[160]next[160]pattern[160][160][160][160][167]"
130 printtab(9)"[165]-[160]=[160]last[160]pattern[160][160][160][160][167]"
140 printtab(9)"[165]*[160]=[160]reverse[160]pattern[160][167]"
150 printtab(9)"[165][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][167]"
160 printtab(9)"[165]f1=[160]border[160]color[160][160][160][160][167]"
170 printtab(9)"[165]f3=[160]background[160]color[167]"
180 printtab(9)"[165]f5=[160]pattern[160]color[160][160][160][167]"
190 printtab(9)"[165]f7=[160]character[160]color[160][167]"
200 printtab(9)"[165][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][167]"
210 printtab(9)"[165]q[160]=[160]quit[160][160][160][160][160][160][160][160][160][160][160][160][167]"
220 printtab(9)"[204][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][186]"
230 gosub350
233 poke214,8:print
235 printtab(23)"[160][160][160][157][157][157]"right$(str$(pt),len(str$(pt))-1)
240 geta$:ifa$=""then240
245 ifa$="q"then400
250 ifa$>="[133]"then300
260 ifa$="+"thenpt=pt+1:if(pt=128)or(pt=256)thenpt=pt-128
270 ifa$="-"thenpt=pt-1:if(pt=-1)or(pt=127)thenpt=pt+128
280 ifa$="*"thenpt=pt+128:ifpt>255thenpt=pt-256
290 goto230
300 ifa$="[133]"thenbr=br+1:ifbr>15thenbr=br-16
310 ifa$="[134]"thenbc=bc+1:ifbc>15thenbc=bc-16
320 ifa$="[135]"thenbk=bk+1:ifbk>16thenbk=bk-16
330 ifa$="[136]"thench=ch+1:ifch>16thench=ch-16
340 goto50
350 bg=51200+128*8+pt*8:ifpt>127thenbg=bg-128*8
360 forx=0to7:ifpt>127thenpoke51200+32*8+x,255-peek(bg+x):goto380
370 poke51200+32*8+x,peek(bg+x)
380 next:return
400 goto40000
10000 d=peek(186):n$="b.tile stylist":open1,d,15,"i0":close1
10001 open1,d,15,"s0:"+n$:close1:saven$,d:end
40000 fori=0to21:poke828+i,8+i:next
40010 ifdv<8ordv>29ordv=8then40030
40020 a=peek(828):b=peek(828+dv-8):poke828,b:poke828+dv-8,a
40030 a$="hello connect":forj=8to29:i=peek(828+j-8):ifi=14thennext
40040 close2:open2,i,2:close2:ifstthen40060
40050 close15:open15,i,15,"r0:"+a$+"="+a$:input#15,er:close15:ifer=63then40070
40060 next:print"[147]":poke53272,23:poke186,8:end
40070 q$=chr$(34):poke646,peek(53281):print"[147]":poke53272,23
40080 print"[147]p[207]2048,0:p[207]44,8:p[207]43,1:p[207]56,160:p[207]55,0:clr:l[207]"q$a$q$","i
40090 print"run:":poke631,13:poke632,13:poke198,2:end
60000 b9$=" "
60010 poke214,14:print:print" [155][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][152]"
60020 fori=0to7:printb9$:next:print" [151][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][152]"
60030 b9$(0)="[212] [201] [204] [197] [211] [212] [217] [204] [201] [211] [212]"
60040 b9$(1)="by [194]rian [194]oese"
60050 b9$(2)="([195]) 1991 by [211]oftdisk, [201]nc."
60060 b9$(3)="[214]1 [208]ublished on [204][207][193][196][211][212][193][210] #85"
60070 b9$(4)="[211]ubscriptions 1-800-831-2694"
60080 b9$(5)="[193]ll [210]ights [210]eserved"
60090 poke214,16:print:fori=0to5:printtab(20-(len(b9$(i))/2))""b9$(i):next
60099 return